package com.cloud.flowable.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cloud.flowable.entity.WfForm;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 表单配置 Mapper 接口
 */
@Mapper
public interface WfFormMapper extends BaseMapper<WfForm> {

    /**
     * 查询表单列表
     */
    List<WfForm> getFormList(@Param("param") WfForm wfForm);

    /**
     * 查询流程挂着的表单列表
     */
    List<WfForm> getFormByDeployId(@Param("deployId") String deployId);

}
